import jsCookie from "js-cookie";
export const isLogin = () => {
  return jsCookie.get("user") !== undefined && jsCookie.get("uid") != undefined;
};

export const getUsername = () => {
  return jsCookie.get("user");
};
export const getUid = () => {
  return jsCookie.get("uid");
};
